home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19990725-20000114 / 000116_news@columbia.edu _Mon Sep 27 09:51:21 1999.msg < prev    next >
Internet Message Format  |  2020-01-01  |  2KB

  1. Return-Path: <news@columbia.edu>
  2. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30])
  3.     by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id JAA29402
  4.     for <kermit.misc@watsun.cc.columbia.edu>; Mon, 27 Sep 1999 09:51:21 -0400 (EDT)
  5. Received: (from news@localhost)
  6.     by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id JAA16981
  7.     for kermit.misc@watsun.cc.columbia.edu; Mon, 27 Sep 1999 09:32:59 -0400 (EDT)
  8. X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to <news> using -f
  9. From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
  10. Subject: Re: CLEAR failure?
  11. Date: 27 Sep 1999 13:32:58 GMT
  12. Organization: Columbia University
  13. Message-ID: <7snrma$gii$1@newsmaster.cc.columbia.edu>
  14. To: kermit.misc@columbia.edu
  15.  
  16. In article <ruur5lke3i571@corp.supernews.com>,
  17.  <no_spam@adams.patriot.net> wrote:
  18. : This loop in my MS-Kermit 3.15 dialing script appears to be
  19. : infinite. Is there something I'm missing about the CLEAR and
  20. : REINPUT commands? I would expect REINPUT 0 <anything> to fail
  21. : after the input buffer has been cleared.
  22. :  
  23. :     clear
  24. : :clear_loop
  25. :     reinput 0 CARRIER
  26. :     if failure forward clear_exit
  27. :     echo DEBUG: Buffer did not clear
  28. :     clear
  29. :     pause 1
  30. :     if failure forward user_cancelled
  31. :     goto clear_loop
  32. : :clear_exit
  33. MS-DOS Kermit and C-Kermit/K95 differ somewhat in this area and
  34. quite honestly, I'm not sure what CLEAR does in MS-DOS Kermit
  35. when the subsequent keyword is omitted (the relevant options in
  36. this case are are INPUT-BUFFER, DEVICE-BUFFER, or BOTH).
  37.  
  38. In any case, the addition of MINPUT makes REINPUT pretty much
  39. superfluous.  See the sample scripts at:
  40.  
  41.   http://www.columbia.edu/kermit/mskscripts.html
  42.  
  43. - Frank